![]() DELEGATION OF ACQUISITION MANAGEMENT AND FRAME TRANSMISSION
专利摘要:
A communication system includes a server, at least one terminal device and at least one collection gateway. Each terminal device transmits to the server ascending frames having instants of transmission according to which reception windows are defined intended for descending frames assumed to be constructed by the server and relayed by a said collection gateway selected by the server. A disengageable delegation mechanism vis-à-vis at least one elected terminal device is implemented in collaboration with the server by an elected collection gateway by: assigning a buffer to each elected terminal device and storing therein useful data received from asynchronously from the server to the attention of said elected terminal device; and constructing and transmitting, on behalf of the server, downward frames in response to the upward frames received from each elected terminal device. 公开号:FR3083417A1 申请号:FR1855823 申请日:2018-06-28 公开日:2020-01-03 发明作者:Henri TEBOULLE;Marc Le Gourrierec;Franck Harnay 申请人:Sagemcom Energy and Telecom SAS; IPC主号:
专利说明:
The present invention relates to a delegation of acknowledgments and transmission of downlink frames in a communication system. The Internet of Things is emerging. The Internet of Things represents the extension of the Internet to things and places in the physical world. While the Internet does not usually extend beyond the electronic world, the Internet of Things represents the exchange of information and data from devices in the real world to the Internet, such as for example collection of statements of electrical consumption or water consumption. The Internet of Things is considered the third evolution of the Internet, called Web 3.0. The Internet of Things is partly responsible for the current increase in the volume of data to be transmitted and stored, and is therefore at the origin of what is called "Big Data". The Internet of Things is universal in designating the communication of objects for various uses, for example in the industrial, agro-food, e-health or home automation fields. To enable communicating objects, also called terminal devices, to communicate within the framework of the Internet of Objects, collection gateways located in geographically high points are deployed by an operator. Excluding maintenance operations, these walkways are typically fixed and permanent. One can for example quote on this model the networks SigFox (registered trademark) or ThingPark (registered trademark). These collection gateways communicate with the terminal devices by means of medium or long range radio communications, such as, for example, the LoRaWAN technology ("Long Range Wide-Area Network" in English), also known by the short form "LoRa" ("Long Range ”In English) from the name of the alliance promoting LoRaWAN technology. These collection gateways thus serve as relays between the terminal devices and a server (core network) configured to process information transmitted by the terminal devices and to send messages (e.g. instructions) to said terminal devices. To be able to go to sleep as much as possible, the terminal devices apply, in their indirect communications with the server (via one or more collection gateways), a communication mechanism known as "Class A" in the data transmission protocol of LoRaWAN type. This mechanism consists in defining, deterministically for a terminal device considered and the collection gateway which acts as a relay for the server, one or more reception windows during which the terminal device considered listens to the communication medium (two reception windows in the case of the LoRaWAN type data transmission protocol) where downlink communications must be carried out. One or more reception windows begin at the end of a period of predefined duration after an instant of transmission of ascending frame by the terminal device in question and also have a predefined duration. A downlink frame which must be addressed to said terminal device is then carried out in one or the other (if any) of said reception windows, in particular for acknowledging said upward frame. It is indeed typically necessary for the terminal device in question to know that the server has actually received the ascending frame transmitted by said terminal device. This reception window approach starting at deterministic moments for the terminal device in question and the collection gateway which acts as a relay for the server allows said terminal device to go to sleep in the meantime and thus preserve its energy autonomy. However, it is not certain that the round trip time between the collection gateways and the server systematically allows these reception windows to be respected. However, the latency variability between the collection gateways and the server, as well as can lead to missing one or more reception windows, or even to all reception windows, which will require waiting until the terminal device in question re-transmits a ascending frame. And, secondarily, when several reception windows are defined for the same ascending frame, it is preferable to use the first reception window in sequence, so as to allow the terminal device in question not to have to wake up to any subsequent reception window which has been defined according to the transmission of the same ascending frame, in order to preserve the energy resources of said terminal device. It is desirable to overcome these drawbacks of the state of the art, which can be found more generally in wireless communication networks operating on such reception windows (beyond the radio technologies used in wide area networks at low power LPWAN). The invention relates to a method for managing acknowledgments and downlink transmissions in a communication system comprising a server, at least one terminal device and at least one collection gateway serving as a relay between the server and said at least one terminal, each terminal device communicating with at least one said collection gateway via a wireless communication medium, each terminal device transmitting ascending frames to the server having transmission times according to which reception windows are defined intended for frames descendants supposed to be built by the server and relayed via the wireless communication medium by a so-called collection gateway selected by the server. A disengageable mechanism of delegation with respect to at least one elected terminal device is implemented in collaboration with the server by an elected collection gateway performing the following steps: assign a buffer to each elected terminal device and store useful data therein received asynchronously from the server to the attention of said elected terminal device; and acknowledge the ascending frames received from each elected terminal device by constructing and transmitting in said reception windows defined according to the times of transmission of said ascending frames, on behalf of the server, downward frames including respective acknowledgments of said ascending frames and including, where appropriate, useful data stored in the buffer assigned to said terminal device. Thus, no reception window is missed due to the variability of latency between the collection gateways and the server. In addition, a single reception window may be sufficient to acknowledge each ascending frame and transmit any useful data to be addressed to the terminal device in question. Better responsiveness of the communication system is thus achieved. In addition, the energy resources of terminal devices are better managed. Finally, the processing load normally allocated to the server can be distributed over the collection gateways. According to a particular embodiment, the chosen collection gateway performs the following steps, on reception of an ascending frame: relaying the ascending frame to the server; in the case where the ascending frame is received from an elected terminal device, construct the descending frame on behalf of the server, then transmit the descending frame constructed in a reception window defined after an instant of transmission of said ascending frame; and in the case where the ascending frame is received from an unelected terminal device, keep a record that a return is expected from the server with respect to said terminal device for said ascending frame. In addition, the elected collection gateway performs the following steps, on receipt of a downlink frame: in the case where the downlink frame concerns an elected terminal device, place the useful data, provided in the downlink frame by the server, in the buffer assigned to said elected terminal device; and in the case where the downlink relates to an unelected terminal device, when a trace has been kept that a return is expected from the server with respect to an ascending frame received from said unelected terminal device, relay the frame down in a said reception window defined according to an instant of reception of said ascending frame, and discard the down frame otherwise. According to a particular embodiment, on order to deactivate the delegation mechanism vis-à-vis said elected terminal device, the elected collection gateway performs the following steps: if the buffer assigned to the elected terminal device is empty, confirm with the server that the delegation mechanism is deactivated with respect to said elected terminal device; if the buffer allocated to the elected terminal device is not empty, maintain the delegation mechanism until said buffer is emptied by construction and transmission of said downlink frames by the elected collection gateway. According to a particular embodiment, on the order of activation of the delegation mechanism with respect to said elected terminal device, a said collection gateway becomes the collection gateway elected for said elected terminal device and receives from the server a down frame counter value. In addition, the elected collection gateway increments the value of the descending frame counter over the constructions of said descending frames for the attention of said elected terminal device and includes the incremented value of the descending frame counter in said descending frames. And, on order to deactivate the delegation mechanism with respect to said elected terminal device, the elected collection gateway includes an up-to-date value of the downlink frame counter in a message confirming to the server that the delegation mechanism is deactivated with respect to said elected terminal device. According to a particular embodiment, on the order of activation of the delegation mechanism with respect to said elected terminal device, the elected collection gateway receives from the server information indicating which format is used to represent the value of the downlink frame counter . According to a particular embodiment, on the order of activation of the delegation mechanism vis-à-vis said elected terminal device, the elected collection gateway receives security keys from the server to authenticate said elected terminal device in each frame upward supposed to be received from said elected terminal device and to encrypt any downlink frame constructed by the elected collection gateway for the attention of said elected terminal device. According to a particular embodiment, the communication system is a low power wide area network LPWAN. The invention also relates to a collection gateway, called an elected collection gateway, in the context of an acknowledgment and downlink transmission management in a communication system comprising a server, at least one terminal device and at least one communication gateway. collection serving as a relay between the server and said at least one terminal, each terminal device communicating with at least one said collection gateway via a wireless communication medium, each terminal device transmitting to the server ascending frames having instants of transmission according to which reception windows are defined intended for downward frames supposed to be constructed by the server and relayed via the wireless communication medium by a so-called collection gateway selected by the server. The elected collection gateway implements, in collaboration with the server, a disengageable delegation mechanism with respect to at least one elected terminal device, in which said elected collection gateway comprises: means for assigning a buffer to each elected terminal device and storing therein useful data received asynchronously from the server to the attention of said elected terminal device; and means for acknowledging the ascending frames received from each elected terminal device by constructing and transmitting in said reception windows defined according to the instants of transmission of said ascending frames, on behalf of the server, descending frames including respective acknowledgments said ascending frames and including, where appropriate, useful data stored in the buffer allocated to said terminal device. The invention also relates to a computer program, which can be stored on a medium and / or downloaded from a communication network, in order to be read by a processor. This computer program includes instructions for implementing the above-mentioned method, when said program is executed by the processor. The invention also relates to an information storage medium storing such a computer program. The characteristics of the invention mentioned above, as well as others, will appear more clearly on reading the following description of an exemplary embodiment, said description being made in relation to the accompanying drawings, among which: Fig. 1 schematically illustrates a communication system; Fig. 2 schematically illustrates an example of hardware architecture of a communication device; Fig. 3 schematically illustrates an example of protocol architecture; Fig. 4 schematically illustrates an algorithm for activating a delegation mechanism; Fig. 5 schematically illustrates an algorithm for deactivating a delegation mechanism; Fig. 6 schematically illustrates an upstream frame processing algorithm; Fig. 7 schematically illustrates a downlink frame processing algorithm; Fig. 8 schematically illustrates a delegation change processing algorithm; and Fig. 9 schematically illustrates exchanges for the purpose of setting up the delegation mechanism, in a particular embodiment. Fig. 1 schematically illustrates a communication system in which the present invention can be implemented. The communication system comprises at least one collection gateway 120, 121, 122, 123 (noted GW, for "Gate Way" in English, in Figs.). The collection gateways 120, 121, 122, 123 have respective communication links with a server 130 (denoted SRV in Figs.) To which said collection gateways 120, 121, 122, 123 are attached. For example, the server 130 is of LNS type (“LoRaWAN Network Server” in English). Four collection gateways are shown in FIG. 1, but the communication system may include a different amount of collection gateways. In the communication system, messages must be relayed in the form of frames from a set of terminal devices 110, 111, 112 (denoted ED, for “End Device” in English, in Figs.) To the server 130. Three terminal devices are shown in FIG. 1, but the communication system may include a different quantity of terminal devices. The server 130 has a role of controlling and collecting information available from the terminal devices 110, 111, 112, and the collection gateways 120, 121, 122, 123 have a relay role between the terminal devices 110, 111, 112 and the server 130. To enable this relay role to be fulfilled, each collection gateway 120, 121, 122, 123 has at least one radio interface allowing said collection gateway to communicate with at least one terminal device 110, 111, 112 by relying on a wireless communication medium, and preferably according to communication technology of the LPWAN type. Said radio interface is for example of the LoRa type, thus making it possible to implement, within the communication system, a data transmission protocol of the LoRaWAN type modified as described below. Said radio interface is such that a terminal device can be within radio communication range of a plurality of collection gateways, depending on the geographical position of said terminal device with respect to the collection gateways 120, 121, 122, 123 and conditions for transmission by radio in the environment of said terminal device and of the collection gateways 120, 121, 122, 123. This is the case, for example, of the terminal device 110 in FIG. 1, which is within radio communication range of the collection gateways 120, 121 and 122 (materialization by dotted lines in FIG. 1). In addition, each collection gateway 120, 121, 122, 123 has at least one other interface allowing said collection gateway to communicate with the server 130. For example, this other interface is a wired interface making it possible to communicate with the server 130 via the Internet or a radio interface of GPRS type (“General Packet Radio Service” in English). An example of protocol architecture implemented in the communication system so as to allow the terminal devices 110, 111, 112 and the server 130 to communicate via the collection gateways 120, 121, 122, 123 is described below in relation to the Fig. 3. At least one collection gateway 120, 121, 122, 123 of the communication system is compatible with a delegation mechanism, as detailed below, under the control of the server 130. Fig. 2 schematically illustrates an example of hardware architecture of a communication device of the communication system of FIG. 1. Each terminal device 110, 111, 112 and / or each collection gateway 120, 121, 122, 123 and / or the server 130 can be constructed on the basis of such a hardware architecture. The communication device comprises, connected by a communication bus 210: a processor or CPU (“Central Processing Unit” in English) 201; a random access memory RAM (“Random Access Memory” in English) 202; a Read Only Memory (ROM) 203; a storage unit or a storage medium reader, such as an SD (“Secure Digital” in English) 204 card reader or a HDD (“Hard Disk Drive” in English); an IF1 205 communication interface, and possibly another IF2 206 communication interface. When the communication device of FIG. 2 shows a terminal device of the communication system, the communication interface IF1 205 is configured to allow said terminal device to communicate with collection gateways of the communication system. When the communication device of FIG. 2 represents a collection gateway 120, 121, 122, 123 of the communication system, the communication interface IF1 205 is configured to allow said collection gateway to communicate with terminal devices of the communication system, and the other interface IF2 communication module 206 is configured to allow said collection gateway to communicate with the server 130. When the communication device of FIG. 2 represents the server 130, the communication interface IF1 205 is configured to allow said server 130 to communicate with the collection gateways 120, 121, 122, 123, in a manner compatible with the communication interface IF2 206 of the gateways collection 120, 121, 122, 123. The processor 201 is capable of executing instructions loaded in the RAM memory 202 from the ROM memory 203, from an external memory, from a storage medium, or from a communication network. When the communication device in question is powered up, the processor 201 is capable of reading instructions from the RAM 202 and executing them. These instructions form a computer program causing the processor 201 to implement all or part of the algorithms and steps described here in relation to the communication device in question. Thus, all or part of the algorithms and steps described here can be implemented in software form by executing a set of instructions by a programmable machine, such as a DSP ("Digital Signal Processor" in English) or a microcontroller. All or part of the algorithms and steps described here can also be implemented in hardware form by a machine or a dedicated component, such as an FPGA ("Field-Programmable Gate Array" in English) or an ASIC ("ApplicationSpecific Integrated Circuit" in English). In general, the communication device in question comprises electronic circuitry adapted and configured to implement the algorithms and steps described here in relation to the communication device in question. FIG. 3 schematically illustrates an example of a protocol architecture implemented in the communication system of FIG. 1. The protocol architecture is distributed between the terminal devices, the collection gateways and the server 130. Let us consider, by way of illustration, the communications between the terminal device 110 and the server 130 via the collection gateway 120. The terminal device 110 comprises a top layer 311 and a bottom layer 313, as well as an intermediate layer 312 making the link between the top layer 311 and the bottom layer 313. The top layer 311 is a client application. The terminal device 110 can thus include several client applications. The intermediate layer 312 implements the exchange protocol, for example of LoRaWAN type, between the terminal device 110 and the server 130. The bottom layer 313 is the physical layer (PHY) of the radio interface of the terminal device 110, for example LoRa type, which allows said terminal device 110 to communicate with the collection gateways of the communication system, such as for example the collection gateway 120. The server 130 comprises a high layer 331 and a low layer 333, as well as an intermediate layer 332 making the link between the high layer 331 and the low layer 333. The high layer 331 is a server application. The server 130 can thus include several server applications. It should be noted that the representation of FIG. 3 is a logical representation, and that the server applications can be executed on respective equipment distinct from the server 130. The intermediate layer 332 implements the exchange protocol, for example of the HTTPS type (“HyperText Transfer Protocol Secure” in English), between the server 130 and the collection gateways 120, 121, 122, 123. The low layer 333 is the physical layer (PHY) of the server interface 130 which makes it possible to communicate with the collection gateways 120, 121, 122, 123. The collection gateway 120 comprises a first low layer 322 and a second low layer 323, as well as an adaptation module 321. The first low layer 322 is the physical layer (PHY) of the radio interface of the collection gateway 120 which makes it possible to communicate with terminal devices of the communication system, such as for example the terminal device 110. The second low layer 323 is the physical layer (PHY) of the interface of the collection gateway 120 which makes it possible to communicate with the server 130. The adaptation module 321 is configured to convert the frames received via the first low layer 322 into a format suitable for the second low layer 323, and vice versa, so as to forward the frames from the terminal device 110 to 'to server 130, and vice versa. During this conversion, the collection gateway 120 can enrich said frame with additional information, such as for example an indication of signal level received RS SI determined by said collection gateway 120 on reception of the frame from the terminal device 110. The protocol architecture shown in FIG. 3 is such that the intermediate layer 312 of the terminal device 110 communicates with the intermediate layer 321 of the gateway 120, by relying on the respective lower layers of the terminal device 110 and of the collection gateway 120. The protocol architecture represented on Fig. 3 is also such that the upper layer 311 of the terminal device 110 communicates with the upper layer 331 of the server 130, by relying on the respective intermediate layers 312, 321, 332 of the terminal device 110 and of the server 130. The same server application can thus communicate with respective client applications executed on as many terminal devices, and the same terminal device executing a plurality of client applications can thus communicate with as many server applications executed on the server 130. The layers and protocol modules represented can be supplemented, in particular by protocol stacks allowing the server 130 to exchange with the collection gateway 120, in particular to allow the server 130 to configure the collection gateway 120 with respect to the delegation. When the server 130 decides to activate the delegation mechanism with the collection gateway 120 with respect to a terminal device considered, part of the functions provided by the intermediate layer 332 in its communications with the terminal device considered is transferred under the responsibility of the adaptation module 321. The adaptation mode 321 continues to forward to the server 130 the frames received from the terminal device 110, called uplink frames, and to forward to the terminal device 110 the frames received from the server 130, known as downlink frames. But, in addition, the adaptation mode 321 anticipates the acknowledgment of the ascending frames on behalf of the intermediate layer 332 of the server 130. In addition, the adaptation mode 321 activates a buffer (“buffer” in English) allowing the server 130 to deport as close as possible to the terminal device 110 the storage of downlink frames to be sent to the terminal device 110. The filling of this buffer is then carried out asynchronously, that is to say without taking synchronism into account transmission-reception to be respected via the reception windows between the collection gateways and the terminal devices. Thus, when an ascending frame is received from the terminal device 110, the collection gateway has the data and mechanisms necessary to acquit the ascending frame as quickly as possible, and if necessary, transmit data intended for it from the terminal device 110. part of the server 130. This aspect is detailed below in relation to FIGS. 4 to 9. Fig. 4 schematically illustrates an algorithm for activating the delegation mechanism vis-à-vis a terminal device. The algorithm in Fig. 4 is implemented by each collection gateway compatible with the delegation mechanism. Consider for illustrative purposes that the algorithm of Fig. 4 is implemented by the collection gateway 120. In a step 401, the collection gateway 120 receives a START-RQ message representative of a request to activate the delegation mechanism vis-à-vis a terminal device. We can then speak of "elected collection gateway" and "elected terminal device", because they were selected for the implementation of the delegation mechanism. The START-RQ message is sent to the collection gateway 120 by the server 130, in order to allow the server 130 to be relieved of certain tasks and to reduce the reaction time of the communication system when a terminal device transmits an upward frame. In a step 402, the collection gateway 120 internally activates the delegation mechanism. The delegation mechanism relates to a particular terminal device, as specified in the START-RQ message received from the server 130. The collection gateway 120 thus keeps track of having to acknowledge, on behalf of the server 130, the ascending frames received from the device terminal in question. The collection gateway 120 also initializes a buffer dedicated to the downlink transmissions desired by the server 130 intended for the terminal device in question. This buffer is therefore assigned to said terminal device and makes it possible to make asynchronous, from the point of view of the server 130, the downlink transmissions to said terminal device with respect to the upward transmissions from said terminal device. In a particular embodiment, the communications between the server 130 and the terminal device in question are encrypted. The START-RQ message then contains any security key necessary to authenticate the terminal device in an ascending frame received and to make it possible to encrypt any descending frame bound for said terminal device. More specifically, these are the security keys NtwSEncKey, FNwkSIntKey and SNwkSIntKey in the LoRaWAN protocol. The START-RQ message can also contain a security key allowing the collection gateway 120 to decipher, if necessary, the ascending frames received from said terminal device, which makes it possible to unload all the tasks from the server 130 especially when the communications between the collection gateways and the server 130 are themselves secure. These security keys being unique for each terminal device, the START-RQ message includes said security keys, possibly themselves in encrypted form thanks to another security key previously known to the server 130 and to the collection gateway 120. In a particular embodiment, the exchanges between the server 130 and each terminal device are governed by counters. This is the case, for example, in the LoRaWAN protocol, where an ascending frame counter is maintained by the terminal device considered and a descending frame counter is maintained, with respect to said terminal device, by the server 130. More, specifically the downlink frame counter, called NFCntDown, indicates the amount of downlink frames transmitted by the server 130 to the terminal device in question. When the terminal device receives a new downlink frame, it compares the value of the counter NFCntDown indicated in the frame with the value of said counter indicated in the last downlink frame received from the server 130. If the value indicated in the new downlink frame is greater, the terminal device processes the new downlink frame, otherwise the terminal device discards the new downlink frame. Thus, by delegating the transmission of downlink frames to the collection gateway 120, the server 130 also delegates the management of the downlink frame counter NFCntDown. The current value of the NFCntDown downlink counter is then supplied by the server 130 in the START-RQ message. Note that client and server applications can also maintain their own counters. This is also the case in the LoRaWAN protocol, where an AFCntDown downlink application frame counter is maintained. However, this downlink application frame counter AFCntDown is independent of the downlink frame counter NFCntDown, so as to perform an abstraction, at the application level, of the communication modes actually used between the server 130 and the terminal device considered. In addition, in a particular embodiment, the values of the ascending frame counter and the descending frame counter can, by choice of the server 130 or by choice of design of the communication system, be represented in different formats. The server 130 can thus use a certain format with certain terminal devices and another format with other terminal devices. In this case, the START-RQ message specifies which format is used vis-à-vis the terminal device concerned by said START-RQ message. For example, a first format corresponds to a 16-bit count and a second format corresponds to a 32-bit count, and a bit of the START-RQ message is used to indicate whether the count is performed on 16 or 32 bits. Fig. 5 schematically illustrates an algorithm for deactivating the delegation mechanism vis-à-vis a terminal device. Consider for illustrative purposes that the algorithm of Fig. 5 is implemented by the collection gateway 120. In a step 501, the collection gateway 120 receives a STOP-RQ message representative of a request to deactivate the delegation mechanism with respect to a terminal device for which the server 130 has previously activated the delegation mechanism to said collection gateway 120. The STOP-RQ message is sent to the collection gateway 120 by the server 130. According to a first example, the server 130 wishes to end the delegation with respect to said terminal device in order to transfer the delegation to another collection gateway. Indeed, the delegation vis-à-vis a terminal device can only be entrusted to a single collection gateway, to avoid conflicts of acknowledgment of the ascending frame. This aspect is presented below in relation to FIG. 8. According to a second example, the server 130 wishes to disengage the delegation mechanism with respect to said terminal device because the server 130 has more processing resources available than previously. In a step 502, the collection gateway 120 checks whether the buffer associated with the delegation is empty or not. In other words, the collection gateway 120 checks whether data useful for the attention of the terminal device in question is still awaiting transmission. If the buffer is empty, the collection gateway 120 can hand over to the server 130 and a step 504 is performed; otherwise, the collection gateway must wait for the buffer to become empty, and a step 503 is performed. In step 503, the collection gateway 120 empties the buffer by transmitting, to the terminal device, the useful data still pending for the terminal device concerned. The collection gateway 120 must transmit said useful data in the form of downlink transmissions in reception windows which are defined according to instants of transmission of ascending frames by the terminal device in question, since the rest of the time said terminal device is probably Standby. In other words, the collection gateway 120 maintains the delegation mechanism until said buffer is emptied. The downlink frame transmissions by the collection gateway 120 on behalf of the server 130 are further detailed below in relation to FIG. 7. Next, step 504 is carried out. In step 504, the collection gateway 120 internally deactivates the delegation mechanism for the terminal device specified in the STOPRQ message received from the server 130. The collection gateway 120 then stops acknowledging, on behalf of the server 130, the ascending frames received from the terminal device in question. In addition, the collection gateway 120 frees the buffer which was assigned to the delegation for said terminal device. In the particular embodiment where the communications between the server 130 and the terminal device in question are encrypted, the collection gateway 120 erases the security keys associated with said terminal device. After having internally deactivated the delegation mechanism for the terminal device in question, the collection gateway 120 confirms the deactivation with the server 130 by a STATUS message. The server 130 then knows that all the downlink frames, the transmission management of which has been delegated to the collection gateway 120 with respect to the terminal device in question, have been transmitted to said terminal device. In the particular embodiment where the exchanges between the server 130 and each terminal device are governed by counters, the STATUS message includes the updated value of the downlink frame counter. Thus, the server 130 can regain control over the transmission of downlink frames or pass control to another collection gateway transparently for the terminal device (elected) in question. It is therefore apparent, in view of the above, that the delegation mechanism is disengageable. It should be noted that, in a particular embodiment, the server 130 can, with the same STOP-RQ message, request the chosen collection gateway considered to deactivate the delegation mechanism for all the terminal devices for which the server 130 entrusted said elected collection gateway with the management of acknowledgments and downlink frame transmissions. In which case, the algorithm in Fig. 5 is executed for each of the terminal devices concerned, knowing that a single STATUS message can be sent to the server 130 for all the terminal devices in question. Fig · 6 schematically illustrates an upward frame processing algorithm. The algorithm in Fig. 6 is implemented by each collection gateway compatible with the delegation mechanism. Consider for illustrative purposes that the algorithm of Fig. 6 is implemented by the collection gateway 120. In a step 601, the collection gateway 120 receives an ascending frame coming from a terminal device. The ascending frame specifies which terminal device said ascending frame emits. In a step 602, the collection gateway 120 checks whether the delegation mechanism has been activated with respect to said terminal device or not. If this is the case, a step 604 is carried out; otherwise, a step 603 is carried out. In step 603, the collection gateway 120 forwards the ascending frame to the server 130, so that the server application concerned can process the content thereof. The collection gateway 120 here simply serves as a relay and keeps track of a return expected from the server 130 with respect to said ascending frame at least to acknowledge said ascending frame and possibly to provide additional useful data. The collection gateway 120 keeps track of the reception of said ascending frame and of the moment at which said ascending frame was received, so that it can subsequently determine the reception window to be used. When the server 130 subsequently sends the downlink frame to be forwarded to the terminal device in question in response to said ascending frame, the server 130 provides time information representative of a duration and the collection gateway 120 adds said duration to the instant at which said ascending frame was received to determine what is the start time of the reception window to be used. As a variant, the collection gateway 120 programs ("schedule" in English) at least one reception window for said terminal device, in which the collection gateway 120 is supposed to relay a downlink frame which will subsequently be supplied by the server 130 (case here of a terminal device which is not an elected terminal device). The collection gateway 120 then monitors that the server 130 transmits a downlink frame to be forwarded to the terminal device in question in response to said ascending frame within appropriate times to respect a said reception window thus programmed. In step 604, the collection gateway 120 must acknowledge, on behalf of the server 130, the ascending frame received in step 601. The acknowledgment must be made in a said reception window defined according to an instant of transmission of said ascending frame, so as to ensure that said terminal device is listening to the communication medium at that time. The collection gateway 120 checks whether the buffer associated with said terminal device contains useful data supplied by the server 130 for the attention of said terminal device. If the buffer does not contain such useful data, the collection gateway 120 constructs a downlink frame including the abovementioned acknowledgment and transmits the downlink frame thus constructed to said terminal device. Otherwise, the collection gateway 120 constructs a downlink frame including the abovementioned acknowledgment and also including data stored in the buffer. This data is then erased from the buffer, and the collection gateway 120 transmits the downlink frame thus constructed to said terminal device, and step 604 is then carried out. In the particular embodiment where the exchanges between the server 130 and each terminal device are governed by counters, the collection gateway 120 increments by one unit the downlink frame counter associated with said terminal device, and registered in the downlink frame the incremented value of the down frame counter thus obtained. In the particular embodiment where the downlink frame must be encrypted, the collection gateway 120 authenticates the terminal device by decoding an integrity code included in the ascending frame received in step 601. This integrity code is called MIC (“Message Integrity Code” in English) in the LoRaWAN protocol. If the authentication fails, the collection gateway 120 discards the ascending frame and interrupts the execution of the algorithm of FIG. 6. In addition, the collection gateway 120 must encrypt the downlink frame constructed, using the security keys associated with said terminal device, before transmitting the downlink frame in encrypted form. The descending frame in encrypted form then also includes an integrity code authenticating the server 130, on behalf of which the collection gateway 120 acts. In step 605, the collection gateway 120 forwards to the server 130 the ascending frame or the data contained in the ascending frame, so that the server 130 can process the content thereof. The gateway can also only send data outside delegation to the server 130. Non-delegated data is understood to mean data which does not relate to a functionality delegated to the collection gateway 120. The collection gateway 120 can thus for example not propagate the integrity code contained in the ascending frame received from the terminal device in question. This data can be encrypted by the collection gateway 120 using a security key also known to the server 130, for example by using a secure tunnel. We notice, in view of the algorithm of Fig. 6, that the data contained in an ascending frame can be relayed to the server 130 by several collection gateways which would pick up the ascending frame in question. It is then the responsibility of the server 130 to carry out any appropriate data deduplication. Fig · 7 schematically illustrates a downlink frame processing algorithm. The algorithm in Fig. 7 is implemented by each collection gateway compatible with the delegation mechanism. Consider for illustrative purposes that the algorithm of Fig. 7 is implemented by the collection gateway 120. In a step 701, the collection gateway 120 receives a downlink frame coming from the server 130. The downlink frame specifies to which terminal device said downlink frame is intended. In a step 702, the collection gateway 120 checks whether the delegation mechanism has been activated with respect to said terminal device or not. If this is the case, a step 703 is carried out; otherwise, a step 704 is carried out. In step 703, the collection gateway 120 puts the data contained in the downlink frame received in step 701 in the buffer associated with the terminal device for which said data is intended. We can then speak of "useful data" for the attention of said terminal device. The downlink frame received in step 701 then typically has a format other than the downlink frames transmitted by the server 130 when the delegation mechanism is not activated, since at least the acknowledgments are not managed by the server 130 when the delegation mechanism is activated. The collection gateway 120 will subsequently send the useful data thus received from the server 130 to the attention of the terminal device in question, when a reception window will allow it, more particularly following a next upward transmission from the terminal device in question. . In step 704, the collection gateway 120 must relay the downlink frame received in step 701. Since the delegation mechanism is not activated for the terminal device in question, the collection gateway 120 can relay to the terminal device in question only if there is at least one reception window to come according to the ascending frame which triggered the sending of said descending frame by the server 130. In other words, the collection gateway 120 checks whether said collection gateway 120 has kept a trace that a return was expected from the server 130 with respect to an ascending frame previously received from said terminal device in question. If this is the case, a step 705 is carried out; otherwise, a step 706 is carried out. In step 705, the collection gateway 120 forwards the downlink frame received in step 701 in a said reception window defined according to an instant of transmission of the ascending frame which triggered the sending of said downlink frame by the server 130. In step 706, the collection gateway 120 is out of time in order to be able to relay the downlink frame to the terminal device in question. The collection gateway therefore throws the downlink frame. It is then the responsibility of the server 130 to retransmit later the useful data which were contained in said downlink frame. Fig. 8 schematically illustrates a delegation change processing algorithm. The algorithm in Fig. 8 is implemented by the server 130. In a step 801, the server 130 detects a need to change the delegation. In other words, the server 130 decides to entrust the management of the acknowledgments and of the transmission of the downlink frames, for a given terminal device, to another collection gateway. For example, when the collection gateways relay upward frames to the server 130, said collection gateways provide the server 130 with indications of received signal strength RSSI (“Received Signal Strength Indicator”) and / or signal ratio -noise SNR (“Signal-to-Noise Ratio” in English), and the server 130 has detected that the collection gateway to which the management of acknowledgments and of the transmission of downlink frames has been entrusted provides performance information in reception below a predefined threshold while said other collection gateway provides reception performance information above said predefined threshold. In a step 802, the server 130 stops the delegation in progress. To do this, the server 130 sends a STOP-RQ message concerning said terminal device to the collection gateway to which the server 130 had previously requested to activate the delegation mechanism. In a step 803, the server 130 awaits confirmation, by a STATUS message, that said collection gateway has deactivated the delegation mechanism for said terminal device. On receipt of the STATUS message, the server 130 deduces that said collection gateway has transmitted any useful data, for the attention of said terminal device, which was waiting in buffer within said collection gateway. In a step 804, the server 130 initiates the delegation to said other collection gateway. To do this, the server 130 sends a STARTRQ message concerning said terminal device to said other collection gateway. Any new data for the attention of said terminal device is then sent by the server 130 to said other collection gateway for buffer storage, the management of acknowledgments and of the transmission of downlink frames thus being entrusted to said other collection gateway. Fig. 9 schematically illustrates exchanges for the purpose of setting up a delegation, in a particular embodiment of the invention. By way of illustration, the exchanges are described between the server 130, the collection gateway 121 and the terminal device 112. In a step 901, the server 130 transmits to the collection gateway 121 a START-RQ message concerning the terminal device 112. The server 130 thus orders the collection gateway 121 to activate the delegation mechanism, in order to delegate to the collection gateway 121 managing the acknowledgments and the transmission of downlink frames with respect to the terminal device 112. In an optional step 902, the collection gateway 121 activates the delegation mechanism for the terminal device 112, and transmits to the server 130 a START-ACK message acknowledging the START-RQ message, thus signifying to the server 130 that the delegation has been accepted and implementation. In a step 903, the server 130 transmits to the collection gateway 121 a DL-MSG message including useful data for the attention of the terminal device 112. The useful data in question is then stored by the collection gateway 121 in the buffer assigned to the terminal device 112, pending the occurrence of a reception window for the terminal device 112 following an upward frame transmission by the terminal device 112. In a step 904, the terminal device 112 transmits a bottom up frame ULF (“UpLink Frame” in English), picked up by the collection gateway 121. In a step 905, the collection gateway 121 forwards the ascending ULF frame to the server 130, in application of the algorithm of FIG. 6. In a step 906, the collection gateway 121 constructs a downlink frame DLF (“DownLink Frame” in English) acknowledging the uplink ULF frame received and including the payload buffered following the reception of the DL-MSG message transmitted to the step 903. The transmission of the downlink DLF frame is carried out in a reception window defined according to an instant of transmission of the uplink frame ULF of step 905. The delegation thus makes it possible in particular to prevent the server 130 from being off time to acknowledge the ULF upstream frame in question. In a step 907, the server 130 transmits to the collection gateway 121 a new DL-MSG message including useful data for the attention of the terminal device 112. The useful data in question is then stored by the collection gateway 121 in the buffer assigned to the terminal device 112, pending the occurrence of a new reception window for the terminal device 112 following a transmission of new upward frame by the terminal device 112. The exchanges between the server 130 and the terminal device 112 can thus continue as described in relation to steps 903 to 906 until the server 130 orders the deactivation of the delegation mechanism vis-à-vis the terminal device 112. In a step 908, the server 130 transmits to the collection gateway 121 a STOP-RQ message ordering to deactivate the delegation mechanism with respect to the terminal device 112. The collection gateway 121 detects that the buffer associated with the terminal device 112 is not yet empty. In a step 909, the terminal device 112 transmits a new ascending ULF frame, picked up by the collection gateway 121. In a step 910, the collection gateway 121 forwards said new ULF ascending frame to the server 130, in application of the algorithm of FIG. 6. In a step 911, the collection gateway 121 constructs a new downlink DLF frame acknowledging said new upstream ULF frame received and including the useful data buffered following the reception of the DL-MSG message transmitted in step 907. The transmission of said new DLF downlink frame is performed in a reception window defined according to an instant of transmission of said new ULF ascending frame of step 909. If the useful data remaining in buffer is too numerous to be transmitted at once to the device terminal 112, the collection gateway 121 waits to receive at least one new ascending frame from the terminal device 112 to repeat step 911. In a step 912, the collection gateway 121 detects that the buffer associated with the terminal device 112 is empty, and transmits to the server 130 a STATUS message confirming the deactivation of the delegation mechanism for the terminal device 112. The exchanges between the server 130 and the terminal device 112 then resume using the collection gateway 121 (or another collection gateway) as a simple relay, the management of acknowledgments and of the transmission of the downlink frames then being taken up by the server 130 Even if a new delegation has been made to another collection gateway for the terminal device 112, the collection gateway 121 continues to forward the ascending frames emanating from the terminal device 112, in charge of the server 130 to manage any deduplication of data. Thus, in a step 913, the terminal device 112 transmits a bottom up frame ULF (“UpLink Frame” in English), picked up by the collection gateway 121. In a step 914, the collection gateway 121 forwards the ascending ULF frame to the server 130, in application of the algorithm of FIG. 6. The collection gateway 121 programs at least one reception window defined according to the instant of transmission of the ULF ascending frame of step 913. In a step 915, the server 130 transmits to the collection gateway 121 (as soon as the server 130 has chosen the collection gateway 121 as a relay for propagating the acknowledgment and possibly other data to the terminal device 112 in response to the ascending frame of step 913) a DLF descending frame for the attention of the terminal device 112. In a step 916, the collection gateway 121 relays the downlink DLF frame to the terminal device 112. The transmission of this downlink DLF frame is carried out in a reception window previously programmed. The round trip time between the collection gateway 121 and the server 130, added to the processing time by the server 130, must be short enough to allow the collection gateway 121 to be ready to relay said downlink DLF frame. before said scheduled reception window occurs. Otherwise, the downlink ULF frame is discarded by the collection gateway 121, and new exchanges between the terminal device 112 and the server 130 must be implemented in an attempt to transmit the useful data and acknowledgments concerned.
权利要求:
Claims (10) [1" id="c-fr-0001] 1) Method for managing acknowledgments and downlink transmissions in a communication system comprising a server (130), at least one terminal device (110, 111, 112) and at least one collection gateway (120, 121, 122, 123) serving as a relay between the server (130) and said at least one terminal (110, 111, 112), each terminal device (110, 111, 112) communicating with at least one said collection gateway (120, 121, 122 , 123) via a wireless communication medium, each terminal device (110, 111, 112) transmitting (904, 909) to the server (130) ascending frames having times of transmission according to which are defined reception windows intended for downward frames supposed to be constructed by the server (130) and relayed via the wireless communication medium by a so-called collection gateway (121) selected by the server (130), characterized in that a disengageable mechanism of delega tion vis-à-vis at least one elected terminal device (112) is implemented in collaboration with the server (130) by an elected collection gateway (121) performing the following steps: assign a buffer to each elected terminal device (112) and store useful data therein received asynchronously from the server (130) for said elected terminal device (112); and acknowledging (906) the ascending frames received from each elected terminal device (112) by constructing and transmitting (604) in said reception windows defined according to the times of transmission of said ascending frames, on behalf of the server (130 ), descending frames including respective acknowledgments of said ascending frames and including, where appropriate, useful data stored in the buffer assigned to said terminal device (112). [2" id="c-fr-0002] 2) Method according to claim 1, characterized in that the elected collection gateway (121) performs the following steps, on reception (904, 909) of an ascending frame: relay (905, 910) the ascending frame to the server (130); in the case where the ascending frame is received from an elected terminal device (112), construct (604) a said descending frame on behalf of the server (130), then transmit (906, 911) the descending frame constructed in a window of reception defined according to a transmission time (905) of said ascending frame; and in the case where the ascending frame is received from an unelected terminal device (111), keep a record that a return is expected from the server (130) with respect to said terminal device (111) for said ascending frame; and performs the following steps, on reception (603, 616) of a downlink frame: in the case where the downlink relates to an elected terminal device (112), placing (703) the useful data, supplied in the downlink frame by the server (130), in the buffer allocated to said elected terminal device (112); and in the case where the downlink relates to an unelected terminal device (111), when a trace has been kept that a return is expected from the server (130) with respect to an ascending frame received from said terminal device not elected (111), relay (705, 916) the downward frame in a said reception window defined according to an instant of reception of said upward frame, and discard (706) the downward frame otherwise. [3" id="c-fr-0003] 3) Method according to any one of claims 1 and 2, characterized in that, on deactivation order (501, 908) of the delegation mechanism vis-à-vis a said elected terminal device (112), the gateway of elected collection (121) performs the following steps: if the buffer assigned to the elected terminal device (112) is empty, confirm (503, 912) with the server (130) that the delegation mechanism is deactivated with respect to said elected terminal device (112); if the buffer assigned to the elected terminal device (112) is not empty, maintain the delegation mechanism until said buffer is emptied by construction and transmission (911) of said downlink frames by the elected collection gateway (121 ). [4" id="c-fr-0004] 4) Method according to claim 3, characterized in that: on the order of activation (401, 901) of the delegation mechanism with respect to said elected terminal device (112), a said collection gateway (121) becomes the collection gateway elected for said elected terminal device ( 112) and receives from the server (130) a value of downlink frame counter, the chosen collection gateway (121) increments the value of the downlink frame counter during the construction of said downlink frames for the attention of said elected terminal device (112 ) and includes the incremented value of the descending frame counter in said descending frames, and on order to deactivate (501, 908) the delegation mechanism with respect to said elected terminal device (112), the elected collection gateway (121 ) includes an up-to-date value of the downlink frame counter in a message confirming to the server (130) that the delegation mechanism is disabled with respect to said elected terminal device (112). [5" id="c-fr-0005] 5) Method according to claim 4, characterized in that, on activation order (401, 901) of the delegation mechanism with respect to said elected terminal device (112), the elected collection gateway (121) receives from server (130) information indicating which format is used to represent the value of the downlink counter. [6" id="c-fr-0006] 6) Method according to any one of claims 1 to 5, characterized in that, on activation order (401, 901) of the delegation mechanism vis-à-vis said elected terminal device (112), the Elected collection gateway (121) receives security keys from the server (130) to authenticate said elected terminal device (112) in each ascending frame supposed to be received from said elected terminal device (112) and to encrypt any descending frame constructed by the Elected collection gateway (121) for the attention of said elected terminal device (112). [7" id="c-fr-0007] 7) Method according to any one of claims 1 to 6, characterized in that the communication system is a low power wide area network LPWAN. [8" id="c-fr-0008] 8) Computer program comprising a set of instructions causing the execution, by a processor (201) of a collection gateway (121) of a communication system, the method according to any one of claims 1 to 7, when said computer program is executed by said processor (201). [9" id="c-fr-0009] 9) Information storage medium storing a computer program comprising a set of instructions causing the execution, by a processor (201) of a collection gateway (121) of a communication system, the method according to any one of claims 1 to 7, when said computer program is executed by said processor (201). [10" id="c-fr-0010] 10) Collection gateway (121), called elected collection gateway, within the framework of an acknowledgment and downlink transmission management in a communication system comprising a server (130), at least one terminal device (110, 111 , 112) and at least one collection gateway (120, 121, 122, 123) serving as a relay between the server (130) and said at least one terminal (110, 111, 112), each terminal device (110, 111, 112) communicating with at least one said collection gateway (120, 121, 122, 123) via a wireless communication medium, each terminal device (110, 111, 112) transmitting upward frames to the server (130) having transmission instants according to which reception windows are defined intended for downward frames supposed to be constructed by the server (130) and relayed via the wireless communication medium by a so-called collection gateway (121) selected by the server, cara ctérisée in that said elected collection gateway (121) implements, in collaboration with the server, a disengageable mechanism of delegation with respect to at least one elected terminal device (112), in which said elected collection gateway (121) includes: means for allocating a buffer to each elected terminal device (112) and storing therein useful data received asynchronously from the server (130) for the attention of said elected terminal device (112); and means for acknowledging (906) the ascending frames received from each elected terminal device (112) by constructing and transmitting (604) in said reception windows defined according to the instants of transmission of said ascending frames, on behalf of the server (130), descending frames including respective acknowledgments of said ascending frames and including, where appropriate, useful data stored in the buffer assigned to said terminal device (112).
类似技术:
公开号 | 公开日 | 专利标题 EP3589076A1|2020-01-01|Delegation of management of acknowledgements and transmission of frames US5805825A|1998-09-08|Method for semi-reliable, unidirectional broadcast information services CN101632269B|2014-05-07|Cost reduction of NAT connection state keep-alive US6374254B1|2002-04-16|Scalable, distributed, asynchronous data collection mechanism TWI247504B|2006-01-11|Terminal device, method for processing communication data inside the terminal device, and recording medium for recording a program capable of implementing the method US7693998B2|2010-04-06|System and method for message-based scalable data transport EP2487984B1|2014-07-23|Asynchronous communication method for a wireless sensor network CN1909507B|2012-03-21|Method and system for message transfer EP1343291A1|2003-09-10|Apparatus and method for optimising network traffic CA2604898C|2015-11-24|System and method of message traffic optimization CN102685204A|2012-09-19|Method and equipment for transmitting data resource FR2818844A1|2002-06-28|METHOD FOR TRANSMITTING DATA BETWEEN AT LEAST ONE TRANSMITTER AND AT LEAST ONE RECEIVER, TRANSMITTER, RECEIVER AND TRANSMISSION SYSTEM THEREFOR CN1458590A|2003-11-26|Method for synchronous and uploading downloaded network stack connection by network stact CN1783852A|2006-06-07|Efficient transfer of messages using reliable messaging protocols for WEB services CN101682565B|2015-08-19|For being carried out the system and method for dynamic bandwidth control by agency EP3629541B1|2021-06-09|Method of managing roaming by multi-network transfer EP3598801A1|2020-01-22|Device for transmitting lora frames over a plc network Amin et al.2015|Design considerations in applying disruption tolerant networking to tactical edge networks EP3588971B1|2021-02-24|Method for transmitting lora frames over a plc network EP3629629B1|2021-05-12|Method of managing roaming by multi-network transfer EP3420678A1|2019-01-02|Method for the dynamic adaptation of a data rate JP6745821B2|2020-08-26|Method and device for resending hypertext transfer protocol request, and client terminal Hill et al.2018|Concept network design for a young Mars science station and Trans-planetary communication EP3595217A1|2020-01-15|Acknowledgement of unit in a wireless communication network FR3083946A1|2020-01-17|GROUP ACQUISITION IN A WIRELESS COMMUNICATION NETWORK
同族专利:
公开号 | 公开日 EP3589076B1|2021-06-09| CN110661840A|2020-01-07| FR3083417B1|2020-09-25| US11057158B2|2021-07-06| EP3589076A1|2020-01-01| US20200007277A1|2020-01-02|
引用文献:
公开号 | 申请日 | 公开日 | 申请人 | 专利标题 US20180132177A1|2016-11-09|2018-05-10|Cisco Technology, Inc.|System and method to facilitate power management in a long range radio network environment| WO2004001612A1|2002-06-19|2003-12-31|Ntt Docomo, Inc.|Electronic mail delivery system, mail server, and mail client| US20060235931A1|2005-04-19|2006-10-19|Ruthe Garry E|System for two-way exchange of personal data over mobile telephone networks| US7826469B1|2009-03-09|2010-11-02|Juniper Networks, Inc.|Memory utilization in a priority queuing system of a network device| US10326518B1|2018-03-09|2019-06-18|Mueller International, Llc|Repeater and node utilization| US10506032B2|2018-04-26|2019-12-10|Slack Technologies, Inc.|Automated load distribution for a group-based communication platform|WO2021160747A1|2020-02-11|2021-08-19|Dryad Networks GmbH|Mesh-gateway network and method| CN110996346B|2020-02-28|2020-06-12|武汉慧联无限科技有限公司|Downlink message trajectory tracking method and device and computer readable storage medium|
法律状态:
2019-05-21| PLFP| Fee payment|Year of fee payment: 2 | 2020-01-03| PLSC| Search report ready|Effective date: 20200103 | 2020-05-20| PLFP| Fee payment|Year of fee payment: 3 | 2021-05-19| PLFP| Fee payment|Year of fee payment: 4 |
优先权:
[返回顶部]
申请号 | 申请日 | 专利标题 FR1855823|2018-06-28| FR1855823A|FR3083417B1|2018-06-28|2018-06-28|DELEGATION OF ACKNOWLEDGMENT AND FRAME TRANSMISSION MANAGEMENT|FR1855823A| FR3083417B1|2018-06-28|2018-06-28|DELEGATION OF ACKNOWLEDGMENT AND FRAME TRANSMISSION MANAGEMENT| EP19180748.6A| EP3589076B1|2018-06-28|2019-06-18|Delegation of acknowledgement management and frame transmission| US16/453,361| US11057158B2|2018-06-28|2019-06-26|Delegation of management of acknowledgements and of transmission of frames| CN201910574262.1A| CN110661840A|2018-06-28|2019-06-28|Management delegation of transmission and acknowledgement of frames| 相关专利
Sulfonates, polymers, resist compositions and patterning process
Washing machine
Washing machine
Device for fixture finishing and tension adjusting of membrane
Structure for Equipping Band in a Plane Cathode Ray Tube
Process for preparation of 7 alpha-carboxyl 9, 11-epoxy steroids and intermediates useful therein an
国家/地区
|